/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uit.tkorg.main;

/**
 *
 * @author tiendv
 */
public class IBDH {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        /**
         * 
         * Kiem tra trung lap
         * 
         * Get thong tin tu dabase tich lap (anh nghi chi can check title va year publisher la du)
         * 
         * Buoc 1: Kiem tra title cua database tich hop voi title cua cspubguru sau khi chuan hoa bang dong code
         * title.replace(",", "").replace(".","").replace("/","").replace("?","").replace(":", "").replace("!","").replace("\\", "").replace("'", "").replace("-", "").replace(":", "").replace("\\", "").toLowerCase().replaceAll("\\s+", "");
         * Neu mot co mot ket qua trung nhau hoac title cua paper dem check bi rong thi chuyen sang buoc 3
         * Buoc 2: Check year cua paper - year cua paper di check rong thi rong hoac trung nhau
         *
         * Khi import du lieu vao database can luu y sau
         * 
         * Neu trung lap => tat nhieun la khong them vao 
         * 
         * Neu la moi
         * Cap nhat cac thong tin sau:
         * Check author neu author da ton tai thi them du lieu vao author_paper 
         * Neu author la moi thi them author vao
         * 
         */
        
        
        
        
    }
}
